﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MeTalker.Aide.Forms;

namespace MeTalker.Aide
{
    delegate void WorkModeCallBack(object sender, Action action, TalkerState state);
    internal interface IWork
    {
        void Refresh();
        void Stop();
        bool Start();
    }
    internal interface IWorkMode : IWork
    {
        TalkerState WorkMode { get;}
        IWork Work { get; set; }
        WorkModeCallBack WorkCallback { get; set; }
        ProcInfo WorkProcess { get; set; }
        void InitView();
        void InitData();
    }
}